package com.jxd.project.absence.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jxd.project.absence.dto.AbsenceDto;
import com.jxd.project.absence.dto.QueryFormDto;
import com.jxd.project.absence.dto.UpdateAbsenceDto;
import com.jxd.project.absence.model.Absence;

import java.util.List;
import java.util.Map;

public interface IAbsenceService extends IService<Absence> {
    List<AbsenceDto> getAbsence(QueryFormDto queryFrom);

    Boolean updateAbsence(UpdateAbsenceDto updateAbsenceDto);

    Map<String,String> getOneById(int id);

    int getMyToDo(String userid);

}
